########### 版本要求
cmake_minimum_required(VERSION 2.8.3)
set(CMAKE_CXX_STANDARD 11)
# add_definitions(-std=c++11)
 
SET(CMAKE_BUILD_TYPE "Debug")
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}  -fpermissive")
########### 项目名称
project(astar_demo)

# include_directories(
# include
# ${catkin_INCLUDE_DIRS}
# ${YAML_CPP_INCLUDE_DIR}
# ${OpenCV_INCLUDE_DIRS}
# )

#添加Eigen库，头文件
find_package(Eigen3)
include_directories(${EIGEN3_INCLUDE_DIRS})

#添加Opencv库，头文件
find_package(OpenCV REQUIRED )
include_directories(${OpenCV_INCLUDE_DIRS}) 
# include_directories(${EIGEN3_INCLUDE_DIRS})
########### 编译可执行文件
add_executable(astar_demo astar_demo.cpp)
add_executable(astar_self astar_self.cpp)
add_executable(stewart_app stewart_app.cpp stewart.cpp)
add_executable(rename rename.cpp)
add_executable(opencv_study opencv_study.cpp)
target_link_libraries(opencv_study ${OpenCV_LIBS})
# target_link_libraries(stewart_app ./stewart.cpp)
# target_link_libraries( stewart.cpp)

# find_package(Canfestival)
include_directories(/usr/local/include/canfestival)
# add_executable(canopen_app canopen_app.cpp)
# target_link_libraries(canopen_app libcanfestival.a)

